package com.anne.fish.service.impl;

import com.anne.fish.dao.ArticleDao;
import com.anne.fish.model.Article;
import com.anne.fish.service.ArticleManager;
import com.anne.fish.service.impl.GenericManagerImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import javax.jws.WebService;

@Service("articleManager")
@WebService(serviceName = "ArticleService", endpointInterface = "com.anne.fish.service.ArticleManager")
public class ArticleManagerImpl extends GenericManagerImpl<Article, Long> implements ArticleManager {
    ArticleDao articleDao;

    @Autowired
    public ArticleManagerImpl(ArticleDao articleDao) {
        super(articleDao);
        this.articleDao = articleDao;
    }
}